include "../model/TTicket.thrift"
include "../model/TQuery.thrift"
namespace java com.iqiyi.pps.epg.api.server.web.ticket

 service TicketWebService {
     i64 saveLog(1:TTicket.TTicketLog entity);
     TTicket.TTicketLogPage searchLog(1:TQuery.TPage page, 2:TQuery.TFilter filter);

     TQuery.TResponse addTicketData(1:TTicket.TTicketData entity );
     TQuery.TResponse editTicketData(1:TTicket.TTicketData entity );
     TQuery.TResponse cancelTicketData(1:TTicket.TTicketData entity);
     TQuery.TResponse delTicketData(1:TQuery.TFilter filter);
     TTicket.TTicketDataPage searchTicketData(1:TQuery.TPage page, 2:TQuery.TFilter filter);

     TQuery.TResponse addTicketHistory(1:TTicket.TTicketHistory entity );
     TTicket.TTicketHistoryPage searchTicketHistory(1:TQuery.TPage page, 2:TQuery.TFilter filter);

     TQuery.TResponse getTicketLiveCheck( 1:i64 dataId );
     TQuery.TResponse submitTicketLiveCheck(1:TTicket.TTicketLiveCheck entity);

     list<TTicket.TTicketSysConfig> getAllConfigs();
     list<TTicket.TTicketSysConfig> filterConfigs(1:TQuery.TFilter filter);

     TQuery.TResponse assignTicketData(1:i64 id,2:string executor);
 }
